import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入公共样式
import '@/assets/css/index.scss'

// 全局引入vant
import './plugins/vant.js'
// 引入flexible帮助转化 px to rem
import 'lib-flexible/flexible'

// 全局挂载本地存储工具
import storage from '@/utils/storage'
import './permission'
Vue.prototype.$storage = storage

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
